package kr.kosta.mvc.model;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

public class Member {
	private String id;
	@Length(min=4, message="처음 이름은 4자 이상이어야 합니다.")
	private String firstName;
	@Length(min=4, message="나중 이름은 4자 이상이어야 합니다.")
	private String lastName;
	@NotEmpty(message="지역명을 입력해 주세요.")
	private String city;
	private String phone;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getFirstName() {
		return firstName;
	}
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	public String getLastName() {
		return lastName;
	}
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
}
